<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="Step 4: Creating an HDFS Fileset">
<meta name="product" content="">
<meta name="DC.Relation" scheme="URI" content="en-us_topic_0000001792557044.html">
<meta name="prodname" content="">
<meta name="version" content="">
<meta name="brand" content="30-OceanProtect Appliance 1.5.0-1.6.0 Help Center">
<meta name="DC.Publisher" content="20240608">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="EN-US_TOPIC_0000001839196401">
<meta name="DC.Language" content="en-us">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>Step 4: Creating an HDFS Fileset</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="EN-US_TOPIC_0000001839196401"></a><a name="EN-US_TOPIC_0000001839196401"></a>

<h1 class="topictitle1">Step 4: Creating an HDFS Fileset</h1>
<div><p>Create a fileset to be protected in the HDFS cluster. A fileset is the collection of HDFS files and directories.</p>
<div class="section"><h4 class="sectiontitle">Procedure</h4><ol><li><span>Choose <span class="uicontrol" id="EN-US_TOPIC_0000001839196401__en-us_topic_0000001792557040_en-us_topic_0000001839142377_uicontrol1225102113916"><b><span id="EN-US_TOPIC_0000001839196401__en-us_topic_0000001792557040_en-us_topic_0000001839142377_text1125113213390"><strong>Protection</strong></span> &gt; Big Data &gt; HDFS</b></span>.</span></li><li><span>On the <span class="uicontrol"><b><span><strong>Filesets</strong></span></b></span> tab page, click <span class="uicontrol"><b><span><strong>Create</strong></span></b></span> to create a fileset.</span><p><div class="p"><a href="#EN-US_TOPIC_0000001839196401__table43343410374">Table 1</a> describes the related parameters.
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001839196401__table43343410374"></a><a name="table43343410374"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001839196401__table43343410374" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Fileset parameters</caption><colgroup><col style="width:12.97%"><col style="width:18.61%"><col style="width:68.42%"></colgroup><thead align="left"><tr><th align="left" class="cellrowborder" colspan="2" valign="top" id="mcps1.3.2.2.2.2.1.2.2.4.1.1"><p>Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" id="mcps1.3.2.2.2.2.1.2.2.4.1.2"><p>Description</p>
</th>
</tr>
</thead>
<tbody><tr><td class="cellrowborder" colspan="2" valign="top" headers="mcps1.3.2.2.2.2.1.2.2.4.1.1 "><p><span><strong>Name</strong></span></p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.2.2.1.2.2.4.1.2 "><p>Customize a fileset name.</p>
</td>
</tr>
<tr><td class="cellrowborder" colspan="2" valign="top" headers="mcps1.3.2.2.2.2.1.2.2.4.1.1 "><p><span><strong>Cluster</strong></span></p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.2.2.1.2.2.4.1.2 "><p>Select the HDFS cluster to be protected.</p>
</td>
</tr>
<tr><td class="cellrowborder" colspan="2" valign="top" headers="mcps1.3.2.2.2.2.1.2.2.4.1.1 "><p><span><strong>File to Select</strong></span></p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.2.2.1.2.2.4.1.2 "><p>Choose the file or directory to be protected.</p>
</td>
</tr>
<tr><td class="cellrowborder" rowspan="2" valign="top" width="12.97%" headers="mcps1.3.2.2.2.2.1.2.2.4.1.1 "><p><span><strong>Filtering Rules</strong></span></p>
<p></p>
</td>
<td class="cellrowborder" valign="top" width="18.61%" headers="mcps1.3.2.2.2.2.1.2.2.4.1.1 "><p><span><strong>File</strong></span></p>
</td>
<td class="cellrowborder" valign="top" width="68.42%" headers="mcps1.3.2.2.2.2.1.2.2.4.1.2 "><p>Filter the files to be included or excluded.</p>
<p>The rules for filtering files are as follows:</p>
<ul><li>Enter the full path of the file, for example, <strong>/opt/a.txt</strong>.</li><li>When multiple paths are to be configured, click <span class="uicontrol"><b>Save</b></span> and enter a new path.</li><li>The path can contain the wildcard character <strong>*</strong>.</li></ul>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.2.2.1.2.2.4.1.1 "><p><span><strong>Directory</strong></span></p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.2.2.1.2.2.4.1.1 "><p>Filter the directories to be included or excluded.</p>
<p>The rules for filtering directories are as follows:</p>
<ul><li>Enter the full path of the directory, for example, <strong>/opt/b</strong>.</li><li>When multiple paths are to be configured, click <span class="uicontrol"><b>Save</b></span> and enter a new path.</li><li>The path can contain the wildcard character <strong>*</strong>.</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</p></li><li><span>Click <span class="uicontrol"><b>OK</b></span>.</span></li></ol>
</div>
<p></p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0000001792557044.html">Backing Up HDFS Filesets</a></div>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">Copyright &copy; Huawei Technologies Co., Ltd.</div></body>
</html>